﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Zebra.Utility.SysEnvironment
{
    public class SysEnvironment
    {
        /// <summary>
        /// Gets the System.Version tool.
        /// </summary>
        /// <returns>The System.Version of this tool</returns>
        public static Version GetVersion()
        {
            return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
        }

        /// <summary>
        /// Gets the user name that the app is running under
        /// </summary>
        public static string UserName
        {
            get { return System.Environment.UserName; }
        }
    }
}
